package Ooday03;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("大黄",2,"黄");
        dog1.eat();
        dog1.drink();
        dog1.lookHome();
        Dog dog2 = new Dog("小黑",1,"黑");
        dog2.eat();
        dog2.drink();
        dog2.lookHome();
        Dog dog3 = new Dog("哈士奇",3,"黑白");
        dog3.eat();
        dog3.drink();
        dog3.lookHome();

        Chick chick1=new Chick("旺仔",1,"棕");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();
        Chick chick2=new Chick("小仔",2,"灰");
        chick2.eat();
        chick2.drink();
        chick2.layEggs();
        Chick chick3=new Chick("花花",3,"黑");
        chick3.eat();
        chick3.drink();
        chick3.layEggs();

        Fish fish1 = new Fish("小黎",2,"金色");
        fish1.eat();
        fish1.drink();
        Fish fish2 = new Fish("锦锦",1,"黄");
        fish2.eat();
        fish2.drink();
        Fish fish3 = new Fish("泡泡",3,"金黄");
        fish3.eat();
        fish3.drink();
    }
}
